How can I generate a random number between 1-10 excluding the number 2 in Python